package com.design.pattern.strategy.pay;/** * create by yufeng on 2021/7/5 18:13 */public class MsgResult {    private int code;    private Object data;    private String msg;    public MsgResult(int code, String msg, Object data) {        this.code = code;        this.data = data;        this.msg = msg;    }    @Override    public String toString() {        return "MsgResult{" +                "code=" + code +                ", data=" + data +                ", msg='" + msg + '\'' +                '}';    }}